package com.study;
import org.junit.Test;

import java.util.HashSet;
import java.util.Set;
public class DiamondOperatorTest {


    @Test
    public void testDiamondOperator(){
        diamondOperator();
    }

    public void diamondOperator(){
        Set<String> set = new HashSet<>();
        set.add("MM");
        set.add("JJ");
        set.add("GG");
        set.add("DD");

        for(String s : set){
            System.out.println(s);
        }

    }
}
